//
//  JaneGProductCell.m
//  EPA
//
//  Created by lanou3g on 16/4/21.
//  Copyright © 2016年 张静. All rights reserved.
//

#import "JaneGProductCell.h"

@interface JaneGProductCell ()
@property (weak, nonatomic) IBOutlet UIImageView *titleImageView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;


@end
@implementation JaneGProductCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (void)setModel:(JaneGProductModel *)model {
    if (_model != model ) {
        _model = model;
    }
}
- (void)layoutSubviews {
    [self.titleImageView sd_setImageWithURL:[NSURL URLWithString:self.model.coverimg]];
    self.titleLabel.text = self.model.title;
    
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}

@end
